package com.pzhu.dormitory.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 后台用户角色和权限关系表
 *
 * @author
 * @email
 * @date 2021-04-10 08:46:25
 */
@Data
@ToString
@TableName("role_permission_relation")
@ApiModel(value = "RolePermissionRelation对象", description = "后台用户角色和权限关系表")
public class RolePermissionRelationEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    @ApiModelProperty(value = "")
    private Long id;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private Long roleId;
    /**
     *
     */
    @ApiModelProperty(value = "")
    private Long permissionId;

}
